package com.huarui.receivable.model;

import java.math.BigDecimal;
import java.util.Date;

import org.ewaf.framework.model.BaseDataObject;

public class Receivable extends BaseDataObject {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final Integer STATUS_UNCOMPLETE=0;
	public static final Integer STATUS_COMPLETE=1;
	private Integer id;
	private Integer companyId; // 公司ID
	private Integer customerId;// 客户ID
	private String code;     // -- 应收款凭证号
	private Integer documentType;// 单据类型
	private Integer documentId;// 单据ID
	private String documentCode;//单据号
	private BigDecimal receivable; // 应收款
	private BigDecimal received;// 已收款
	private Integer status;// 状态(0 未收款 1 收款完成)
	private Date gmtCreate;// 创建日期
	private Date gmtModify;// 修改日期
	private Date gmtReceived;// 结束日期
	private Integer workFlowId;// 流程ID
	private Integer currentorId;// 当前处理人ID
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getDocumentType() {
		return documentType;
	}
	public void setDocumentType(Integer documentType) {
		this.documentType = documentType;
	}
	public Integer getDocumentId() {
		return documentId;
	}
	public void setDocumentId(Integer documentId) {
		this.documentId = documentId;
	}


	public BigDecimal getReceivable() {
		return receivable;
	}
	public void setReceivable(BigDecimal receivable) {
		this.receivable = receivable;
	}
	public BigDecimal getReceived() {
		return received;
	}
	public void setReceived(BigDecimal received) {
		this.received = received;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Date getGmtReceived() {
		return gmtReceived;
	}
	public void setGmtReceived(Date gmtReceived) {
		this.gmtReceived = gmtReceived;
	}
	public Integer getWorkFlowId() {
		return workFlowId;
	}
	public void setWorkFlowId(Integer workFlowId) {
		this.workFlowId = workFlowId;
	}
	public Integer getCurrentorId() {
		return currentorId;
	}
	public void setCurrentorId(Integer currentorId) {
		this.currentorId = currentorId;
	}
	public String getDocumentCode() {
		return documentCode;
	}
	public void setDocumentCode(String documentCode) {
		this.documentCode = documentCode;
	}

	
}
